<?php
	class User{
		private $id_user;
		private $name_user;
		private $password;
		private $email_user;
		private $real_name;
		private $last_login;
		
		public function __construct($id_user=null,
									$name_user=null,
									$password=null,
									$email_user=null,
									$real_name=null,
									$last_login=null){
			$this->id_user = $id_user;
			$this->name_user = $name_user;
			$this->password = $password;
			$this->email_user = $email_user;
			$this->real_name = $real_name;
			$this->last_login = $last_login;
		}
		
		//GETTERS
		public function getIdUser(){return $this->id_user;}
		public function getNameUser(){return $this->name_user;}
		public function getPassword(){return $this->password;}
		public function getEmailUser(){return $this->email_user;}
		public function getRealName(){return $this->real_name;}
		public function getLastLogin(){return $this->last_login;}
		
		//SETTERS
		public function setIdUser($id_user){$this->id_user = $id_user;}
		public function setNameUser($name_user){$this->name_user = $name_user;}
		public function setPassword($password){$this->password = $password;}
		public function setEmailUser($email_user){$this->email_user = $email_user;}
		public function setRealName($real_name){$this->real_name = $real_name;}
		public function setLastLogin($last_login){$this->last_login = $last_login;}
		
	}
?>